Simultaneous equations one linear one curve